x86: add new Xen cpuid node for max address width info
authorJuergen Gross <jgross@suse.com>
Thu, 28 Sep 2017 10:05:53 +0000 (12:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Sep 2017 10:05:53 +0000 (12:05 +0200)
commitc3d74acf55696107c6e9238e952e4a5240b7b130
tree630d21ab38acd3b9682aaaa721a0f71b578eb74f
parent0c1ffc6159c093bbb099f891111b83e537063ae9
x86: add new Xen cpuid node for max address width info

On very large hosts a pv-guest needs to know whether it will have to
handle frame numbers larger than 32 bits in order to select the
appropriate grant interface version.

Add a new Xen specific CPUID node to contain the maximum machine address
width similar to the x86 CPUID node 0x80000008 containing the maximum
physical address width. The maximum frame width needs to take memory
hotplug into account.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/traps.c
xen/include/public/arch-x86/cpuid.h